package com.wakala.employment.adapter.banner;

import com.stx.xhb.androidx.entity.BaseBannerInfo;

/**
 * author: weixiaoliang.
 * time: 2018/12/3
 * mail:xhb_199409@163.com
 * github:https://github.com/xiaohaibin
 * describe: CustomViewsInfo 继承 SimpleBannerInfo 根据个人情况重载两个方法
 */
public class CustomViewsInfo implements BaseBannerInfo {

    private String title;

    public CustomViewsInfo(String title) {
        this.title = title;
    }

    @Override
    public String getXBannerUrl() {
        return null;
    }

    @Override
    public String getXBannerTitle() {
        return title;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
